package com.dule.Medic.model;

import java.util.List;

import org.apache.tapestry5.beaneditor.Validate;

public interface Doctor 
{
	Long getId();
	
	public String getSocSecNo();
	@Validate(value="required,maxlength=15,minlength=4")
	void setSocSecNo(String socSecNo);
	
	public String getFirstName();
	@Validate(value="required,maxlength=15,minlength=2")
	public void setFirstName(String firstName);
	
	public String getLastName();
	@Validate(value="required,maxlength=15,minlength=2")
	public void setLastName(String lastName);
	
	public String getAdress();
	@Validate(value="required")
	public void setAdress(String adress);
	
	public String getEmail();
	@Validate(value="regexp,required")
	public void setEmail(String email);
	
	public String getUserName();
	@Validate(value="required,maxlength=15,minlength=4")
	public void setUserName(String userName);
	
	public String getPassword();
	@Validate(value="required,maxlength=15,minlength=4")
	public void setPassword(String password);
	
	public String getPhone();
	@Validate(value="required")
	public void setPhone(String phone);
	
	public List<MedEntry> getMedEntries();
	public void setMedEntries(List<MedEntry> medEntries);
	public MedEntry getMedEntryById(Long id);
	public boolean UpdateMedEntry(MedEntry medentry);
	public boolean RemoveMedEntry(MedEntry medentry); 
	public boolean containsME(List<MedEntry> me);
	
}
